package com.CmJava.entity.project;

import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;
import java.util.List;

public class ProjectDisplay {
    private int id;
    private String projectName;
    private String projectDescription;
    private String techId;
    private String imgName;
    @TableField("projectUrl")
    private String projectUrl;
    private String createTime;
    // 映射时忽略该字段
    @TableField(exist = false)
    private List<String> techName;

    public ProjectDisplay() {
    }

    public ProjectDisplay(int id, String projectName, String projectDescription, String techId, String imgName, String projectUrl, String createTime, List<String> techName) {
        this.id = id;
        this.projectName = projectName;
        this.projectDescription = projectDescription;
        this.techId = techId;
        this.imgName = imgName;
        this.projectUrl = projectUrl;
        this.createTime = createTime;
        this.techName = techName;
    }

    public String getProjectUrl() {
        return projectUrl;
    }

    public void setProjectUrl(String projectUrl) {
        this.projectUrl = projectUrl;
    }

    public List<String> getTechName() {
        return techName;
    }

    public void setTechName(List<String> techName) {
        this.techName = techName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectDescription() {
        return projectDescription;
    }

    public void setProjectDescription(String projectDescription) {
        this.projectDescription = projectDescription;
    }

    public String getTechId() {
        return techId;
    }

    public void setTechId(String techId) {
        this.techId = techId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getImgName() {
        return imgName;
    }

    public void setImgName(String imgName) {
        this.imgName = imgName;
    }

    @Override
    public String toString() {
        return "ProjectDisplay{" +
                "id=" + id +
                ", projectName='" + projectName + '\'' +
                ", projectDescription='" + projectDescription + '\'' +
                ", techId='" + techId + '\'' +
                ", imgName='" + imgName + '\'' +
                ", projectUrl='" + projectUrl + '\'' +
                ", createTime=" + createTime +
                ", techName=" + techName +
                '}';
    }
}
